<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="java.util.HashMap"%>
<%@page import="comm.util.RequestManager"%>
<%
	QuikHashMap profileHm = RequestManager.getRequest(request);
%>

<div id="smallmenu"">
	<ul>
		<li><a href="<%=request.getContextPath()%>/?content=mypage&menu=profile&sub=mymessage">최근 내 메세지</a></li>
		<li><a href="<%=request.getContextPath()%>/?content=mypage&menu=profile&sub=myinfo">내 정보</a></li>
		<li><a href="<%=request.getContextPath()%>/?content=mypage&menu=profile&sub=mygroup">내 그룹</a></li>
		<li><a href="<%=request.getContextPath()%>/?content=mypage&menu=profile&sub=mydata">내 자료</a></li>
	</ul>
</div>


<div>
	<!-- 내 정보 부분 -->
	<%if(profileHm.get("SUB") != null && profileHm.get("SUB").equals("myinfo")){ %>
		<jsp:include page="./myinfo.jsp"></jsp:include>
		
	<!-- 내 그룹 부분 -->
	<%}else if(profileHm.get("SUB") != null && profileHm.get("SUB").equals("mygroup")){ %>
		<%@include file="./mygroup.jsp" %>
		
	<!-- 내 자료 부분 -->
	<%}else if(profileHm.get("SUB") != null && profileHm.get("SUB").equals("mydata")){ %>
		<%@include file="./mydata.jsp" %>
		
	<!-- 내 메시지 부분 -->
	<%}else{ %>
		<!-- 다른 회원 프로필 부분 -->
		<%if(profileHm.get("MEMBER_SEQ") != null){ %>
			<%@include file="./memberInfo.jsp" %>
		<%}else{ %>
			<%@include file="./mymessage.jsp" %>
		<%} %>
	<%}%>
	<div>
	</div>
</div>